|
<DIV id=list>
# u% m8 D$ X. r) T<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>2 { \* k J: \6 h* L9 _' e
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>$ M( \" g) C j9 g" M
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
+ ?/ ]# |) ~( A% I; Z% V( ?1 Q<DIV id=lrc3 style="COLOR: #666666"></DIV>0 A. y8 J; \3 x) h1 V
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
3 o0 ]0 I* z& g! ~7 W<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>$ F- ?3 o# B' ?1 H+ [% [) b
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>3 [' ]3 B0 |2 E% {
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
9 b, G: }0 J$ v/ _: y" _) D9 ]. r<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>& s6 S; M% [0 Z' _! a
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
* S# U/ p. J' J2 d n2 F<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
: t- I$ n, ~) \2 m7 i) E2 `<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
3 C5 U: C" t1 x8 \5 T7 f) i<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>0 J, b3 t0 L" p$ c( O& _5 ~. \
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>: b: \3 z* ]3 H" {
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>. N5 t9 O" ?! v) a
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>( \" E! `+ y6 K! w! P, }
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>6 }8 s T; `4 a. u( r
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>4 l. \+ Q* H2 X! g8 t0 U
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
6 T# X" X; ]7 C+ t' R+ g<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>, O$ Y; i0 f9 w( ^
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>6 Q5 u& c; I7 n7 T5 R1 j2 o9 `
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>* J2 v7 C" k" e: _
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>6 [ l. n. v7 k0 L
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>$ L5 ^" K" d# n t& D
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
1 [7 g! M6 k6 y R- Y s<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>( D [& u- S" T3 X A( ~: E
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
7 R- i7 R% j% C# j* M* `<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>+ @& l+ l- U3 C; ^! ]
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
+ d# J% w8 M6 u& g% y3 o<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>; V+ o7 L' ^1 A) n& F- F" R
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>+ N) r0 a+ h. w2 I' z3 T6 }, U( g
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>4 k2 A+ x9 a! Y" [( a. S6 P
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>& Y9 m$ Y. [% L. L$ W
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
) e, T/ Z8 ~% m$ u6 w. w<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>5 i$ u9 e, ]% v8 j
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>8 v, R: S: ^8 m6 a
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
6 M# L/ M/ W: F- {/ M<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
) C. o! B9 t8 a m0 B" b<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>9 A+ f: t0 P( B6 A! h
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>' }' X# I! o" _/ m! g$ p U; w
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
- n; Q q7 Z3 W( D<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
; W9 \, E! i5 f8 r Y6 f<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>- [- B- W5 H8 A
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
! ?4 c& ?$ s$ @! v" z<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>, g" `+ N9 H+ S& {. Y0 l
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>$ r: M* A2 |5 a
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>8 D6 D1 w2 F3 N# c3 r4 W
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>5 Q6 {! L1 O9 n: a. W
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
& M+ Z0 |/ c- A3 u9 \<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
* u- K3 v4 m( {<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>0 H9 U; I! {" I$ w
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
- ^8 Q3 r3 p# E* ]6 V9 g7 l4 L<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>2 ~4 P- t- V1 d, G
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 9 D2 U. K+ M0 A& \( I
<DIV id=lrc style="DISPLAY: none"></DIV>$ r6 X9 } B8 ]4 j; N1 \! p5 i7 B
<SCRIPT type=text/javascript>; G, K! I( v2 I, i4 r6 ?
document.domain="1ting.com";5 Q' e2 n; e$ C
var colorPasted="#666666";
1 c6 n: s6 h1 e9 o& Ivar colorPlaying="#ff3300";! |. T: T' \- u# a6 @1 U: |4 j- c
var colorNormal="#000000";
! Q( b* |! U* Z8 x1 _ ^$ = function (a,g){
- }! c0 G6 Z5 I: g. [! S+ f% v. D" Z var o = new Array(); " d; w+ N& h6 v& o8 b5 h5 z
var c = new Array(); ' v7 i, w; l0 b) k3 Q( c) Z
var r; 7 ~0 T1 _' J4 M3 t
var u;
$ g: U. | ^. `4 e3 z1 K% a var a = a.split(';');
" k3 W" w8 {( `, f! e9 B, \; j
) |4 r/ C* d4 G; D" M2 P var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
' }. W8 ^% T9 ^- S for(var i=0;i<e.length;i++){. K7 [, s9 ]8 z& C; N5 s# M' E
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
, r O7 D0 e5 k% v$ T" G }
& x0 r8 P6 J, N, j9 C1 {
0 m6 B0 N. ], v! [ after = function (t,d,s){" n$ N; O% p# a& Z T0 Y4 K6 h$ F% A* d
$after = function (){
5 X+ t. b7 F- b6 \( t2 p8 Z2 w A var $n=document.createElement(t);7 @( T0 q3 r- }
if(d!=null){' k2 |( b+ d/ Q0 ?3 {# Y. d
$n.id=d; 6 T- Z/ e, X2 m
}
3 a4 i K3 l3 h. U/ }6 ?
# ]5 W9 ]7 n+ ? u.insertBefore($n,null) : b/ O _8 I9 K$ c
r = $n; , W; ]0 j. ?" Q5 X/ Y& F1 k8 T, {
u = $n;
& \( Y1 ?! D6 U9 B3 L( R }+ t5 L1 L+ d: ?) w! C+ j
$for(s,"$after")# u) E. o h) o9 B* J
}
# s! }5 }4 L( H M; f, F3 i! M/ m8 p% O% g6 f: N9 x7 g# @% {
show = function (s){' _# M) f2 k7 \, Q/ {
$show = function (){& j: f' V% N8 m2 b) K/ w
u.style.display!="none" ? style("display:none") : style("display:block") ;1 u1 z+ C0 g( I W8 A) L1 M/ B
}' K+ W0 _4 R; v) _2 ^8 f6 Y; w
$for(s,"$show"). V) F' c1 e$ i& X
}
/ ?+ c7 e+ s" I t) q0 K* L8 P0 }) B" f& l8 |4 @: @' l
check = function (t,s){
& b# J0 z- I0 r! u( u6 w1 P7 n $check = function (){0 H6 [( H- H, I5 X
if(t=="2"){
7 ?( d, a3 |/ R- A if(u.checked){3 J; T7 H% D* L% k2 a9 d5 A
u.checked = false;/ |/ X+ ~: A, b9 g7 t1 X3 |6 C
}else{# M' f+ G/ J: t) ?3 B. c1 X
u.checked = true;4 |6 x4 \- \ w6 @- c% r: H
}( g( H* D m) Q" x' ]
}else{
+ Z2 |8 w/ Q6 I* k u.checked = t*1 ;
) U$ t& w8 Z$ h% s7 n }. l& I% R' R3 N2 v
}* s: U. H6 w, ^6 `2 E9 G* K3 u) o3 s
$for(s,"$check")
% E' E- j O1 m& T# Z3 w, j% ?: a0 g }
4 m( s* C0 r/ d) u8 n0 @
, O6 ]+ L* J( y. n style = function (v,s){
. s0 n. w5 J; d8 k/ l% i/ N* A5 p% R8 R $style = function (){
2 R4 Q) j1 V% C# ]* @9 d" H var $n = v.split(",") ) ]) S& e* D9 r2 s4 {0 [" l4 e; w
for (var i=0;i<$n.length;i++ ){& I! U/ Y: a( t. F/ i
var $m = $n<i>.split(":") 1 G) ~5 C/ x* r3 I& ?; o
eval("u.style."+$m[0]+"='"+$m[1]+"'");
- O1 R& g2 i/ N }
C1 k! ?1 c' _ }; v, e! y" d S) H
$for(s,"$style")+ s8 f" f0 a# A: M$ h: O
}! A* s$ u* a% \$ c
& z2 K X* M- w
value = function (v,s){* ?! ^5 Q" b6 Z8 l
var $n= $this (v);
T4 ^5 p u3 R% R4 Z) C; i2 F $value = function (){, A! n# | R! S8 u4 Y) o5 d4 t$ c
u.value = $n+ z6 B5 ]. s$ j. j
}9 @0 z8 F$ O8 e( q! d5 a# l
$for(s,"$value")
6 d8 K- ~- o" C- C3 N }
$ L ^# f/ N& m8 c) m% X3 {) s6 \$ E& N& P' l- J- ?
text = function (v,s){) n, N4 ]1 C4 C: e/ i$ T" }4 M
var $n= $this (v);
2 c% a8 s2 ?( ^! f3 Q $text = function (){
2 n; O \% m6 y0 s * p3 Z+ z% O( T5 ^7 i* t/ z( G
u.text = $n
) ` ^' J. R. W8 Y. t9 q4 P& ` }, U1 [* ]8 M$ J) p
$for(s,"$text") , b) U$ l. p) k. K" [6 ?
}5 {3 o& q( @5 [0 S/ Q; B" Z
' R) _. N9 A( s$ @3 V) w. E) P4 u! a5 Z4 n innerhtml = function (v,s){
5 k) L$ h# R; t6 m var $n= $this (v);
& X1 E4 l# t. I0 N $innerhtml = function (){2 A& _+ Q$ ]# k* X
u.innerHTML = $n
% N( P$ E, `- k9 D; Y$ X. p }
/ ~) z/ K' d Q, u0 T- ] $for(s,"$innerhtml")
4 P4 j3 L3 a9 T8 z }
+ ] j9 B$ ?* x; M& N3 n
% a2 ^" ]/ {0 k9 ^! Q8 Y' @0 n removechild = function (s){
: R8 \7 k& T/ ]6 j, ?9 J $removechild = function (){
1 ^6 w% T# `0 W- M- q, ~ u.parentNode.removeChild(u)
$ D0 x& e! ]& G9 J' R: r" Z" l }
4 X2 a9 Y/ N0 U& Q $for(s,"$removechild")
5 a$ E2 M8 \2 R8 ~$ I" H+ t6 S }7 C- x2 N: [9 v# o+ m5 X
& H8 Y! m9 z5 c" S0 W6 `4 z/ c, N $this =function(v){( n9 ^8 \3 {7 D" k$ \7 f7 b. E& S/ k
if(v.indexOf("this") == 0){
9 t7 \; ~% O. M: i/ q3 @$ D return eval(v.replace("this","u"))
6 P0 U8 Z. H; L+ i; m3 d }% t0 u- X, w+ M. ]- t: _
return v;
2 n( y$ n3 C/ |) D }$ F* C8 \0 T/ \6 {
1 z/ \; w% N+ ~: A- o( i* K $event = function (s){6 U1 \" d# G- ^2 M6 p4 i C+ W& S
var $n ="u."+s+" = function(){$work(this,s);}"( W& X" G# e/ l) F; I' m
return $n;
3 a5 E, i3 o' A }) \" w) d* V; \( ~+ S4 i- R0 K$ N
; m2 G2 T! A, U+ r) ~+ O, S $replace = function (s){. z7 b4 b5 a6 D
1 f4 z# K9 A; ]# s, G }
) p: O: `; L0 F) D k
- _" |* h; {/ a$ H0 D/ G $for = function (s,c){8 E9 B* n7 p+ S2 |3 X c4 @
var $n="this."+c+"()" ;( q! u x# Y& F6 z& Y8 m
if(s!=null){! p, g/ Y: N* p
var $m =$test(s);
; }$ \, G( f! x1 S6 `3 t% W' U for (var i=0;i<$m.length ;i++ ){
, H* j, P+ F3 h% b u = $m<i>;$ Q; q' [& P, a- m* Q' A
eval($n);3 f, L7 U) y( S% F) C) Y7 u
}
' P8 F3 e( u' z7 ]3 |& U6 z$ O1 g$ R }# q0 Q" J6 V# {
else{6 J# s" Q8 V! |# W0 [* x
eval($n);1 F0 K2 V- t. \
}+ ?: P% l# P- m) P/ ~4 z. U
}
k. z0 Z) m( }. Q1 r3 b4 T
: N4 L4 l$ h9 z; g $test = function (a){
3 Z# \0 a2 C0 m7 L. A( e var o = new Array();$o(a.split(';'),o);( C& J2 @5 ]6 M7 B! h+ i
return o;7 A( {! i7 ~: o0 V7 k
}
! o" y! o: N6 I5 R* a' E2 L) n" Q8 l7 r7 C
$format = function(s){
: I! m! b! S3 y while (s.indexOf("'")>0){
2 J+ J$ H# o2 G# U5 X7 ~$ v- Q+ d s=s.replace("'","\"");
# S% M1 _. T" w: x } C/ s& _% ~0 ]" g4 P' D' z8 ] O
while (s.indexOf("][")>0){
/ Z" B8 U; g% ^8 v8 b9 P s=s.replace("][","','") v$ O+ c1 h+ B0 G* B" |
}" U6 y$ c( }8 K2 }2 n. C
while (s.indexOf("[")>0){
. ^; b% l2 w3 H' Z. l s=s.replace("[","'").replace("]","'")
0 O; @( S7 R! k' P' z* ]! h2 v$ y& R } 4 U1 |! ]) V9 v3 s+ `* E
return s;# e) _# _% e; K' D
}
# c+ Q7 L0 @- E. v4 d) {6 l( a) l; x& Q5 Y$ I" b- ]
$work = function(w,s){
* q |9 o# N4 B& P: r! d9 u u=w;eval(s)
1 |$ G: _+ X4 `9 \" f6 L- M# `8 P }
7 Q/ A/ M7 ]& J" m9 f5 [! m" [9 n, ]. g5 k
$id = function (s){
& T: D- u2 v$ b } return document.getElementById(s);4 c, k" v) `9 I' `( T# D7 L
}
% H) R+ A( q8 i! u* [) N+ T+ F. Q$ e. |* |5 q
$name = function (s){
+ P) q& R* q6 q2 Z. ^ return document.getElementsByName(s);
- ]) _/ K' w! ~ }: S/ c! H4 R* J4 M$ [" X; ?
/ l$ W6 B# s" W$ p& l5 {" U
$tagname = function (s){. E8 E/ Q1 G/ b4 B/ t# _
return document.getElementsByTagName(s);
+ D& i/ U( q/ c }+ ^" o% Z. k3 d4 U1 x' u
; S8 X1 g# ]8 `0 G0 w" P) P
$o = function (a,o,c){' j4 ]/ W! |9 p4 z1 b- R4 c
$push = function (n) {
: y7 ^( C* B7 V& E) s/ k for (var i=0;i< n.length;i++ ){8 L: L, U& m' \* N
o.push(n<i>);- l/ a2 t0 ]8 C9 P( I: t
}
5 L) O/ m3 Y3 Z! J }' V7 F# D, o4 A+ d% D2 N0 j
for(var i=0;i<a.length;i++){8 Y! G( ]$ m8 h5 {9 V5 v
if(a<i>.indexOf("(") >= 0){4 H$ C a% ^! K; d
c.push(a<i>);
! C2 \6 E; F. e2 C6 D2 }* Y& u Q }6 l9 f% F1 Z" {
if(a<i>.indexOf("~") > 0){5 @; X: k6 u7 t! C5 _: J
try {5 v+ U) m' k, C8 Y. m- r2 V
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
6 Y$ x8 q6 y6 b4 q6 x- H9 {. Z/ X7 O }catch(e): _; ?* o G* V* [1 s
{}
/ G: }1 p. t/ o5 I }
. ]3 n7 ^. ~/ V( Z* [$ w W else{
0 b, T- s/ }1 c- Z8 v if(a<i>.indexOf("#")==0){* ]5 t+ |1 q t% r
o.push($id(a<i>.replace("#","")));' k% P' u7 q5 _/ n: F
}
4 {. n% W2 e \3 |* k if(a<i>.indexOf(".")==0){4 t! f. j8 _1 y, D7 p
$push($name(a<i>.replace(".","")));
, O. m, V" z" H+ S- A( Q }
0 q/ g& p% t1 A* p& } I3 U" Z if(a<i>.indexOf("@")==0 ){4 J' s7 n) k) n1 n7 }
$push($tagname(a<i>.replace("@","")));
D' c0 c# g3 t9 O+ w* Q2 T6 J/ N+ { }( `! L* G8 ?# q6 E4 p# {7 [) L
if(a<i>.indexOf("*")==0){- P5 k3 y( O$ M" J
$p= a<i>;
9 t( W2 @, n( H& D/ }9 h& H if($p.indexOf(".")< 0){
( P$ {5 S. [$ x# G6 w3 m) u% G $p = $p.replace("parent","parentNode")
, E w7 ]& E' m3 } }! E- e, L1 ~; `
var $p ="u."+$p.replace("*","");' H0 r7 J) J3 G A) R
while ($p.indexOf("parent.")> 0){* d1 X9 Z$ Y+ N6 C/ b8 U
$p = $p.replace("parent.","parentNode.")
& n' ^, W$ _( A. M' D r }
( a& Z- g' {0 @* H) x; ^ while ($p.indexOf("child{")> 0){0 y& o* }: ]1 V( J3 D6 r* z
$p = $p.replace("child{","childNodes[").replace("}","]")3 s: l3 t) z% s" X9 F4 y' O- M
}
8 j6 {. W- R. P1 Y9 } o.push(eval($p));
. I' z9 @2 `3 F% g+ G& }3 f% U }9 F- I6 b& z) Y9 E0 ~3 Q6 w2 v
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
8 R9 b, K# {) f& { o.push(eval(a<i>));( ?7 P3 f, m) Q! \
}! `0 e% s, F% ~3 Z+ m
}
) L7 ?7 h" i; ?" y. s0 b if(g!=null){ * Z8 q" z) L1 H* _6 Q- l! N4 y
o.push(g);g=null2 \: }4 ~. h6 ?1 V: w
}
, _7 [& I- @9 u }7 P5 R/ q" `5 S4 o! K, _
}% A$ B. | M/ {+ R* `
; ?$ S- Y2 L. Q0 Q; J$ @
$o(a,o,c);- d7 N/ k% t: D( ~' t
' c( Q, V9 Z4 |0 s6 H
for(var i = 0;i<o.length;i++){
- v; r7 ~9 g" O- v2 l$ G/ }% ~ for(var j=0;j<c.length;j++){
7 O' a3 |$ n4 v6 |$ S, r2 s u = o<i>;eval($format(c[j]));$ V- d5 L7 l% `$ y
}
& g) P; p8 e+ ^/ p" ] }
/ R1 [: d1 f6 g N- j& t* |
5 ~; D; @# D2 r2 o. w+ s if(o.length == 0){$ O3 P0 w7 ^( {* I9 w
for(var i=0;i<c.length;i++){
9 t3 P: H# c: ~ F; b7 A5 e4 {3 T eval($format(c<i>));
1 L' G5 }' ]: c; h# y8 H5 t }- d1 C7 q- b# O3 R
}
+ I6 ^8 R: {) x" W1 R
Z3 ~/ ]( r; }2 b: P9 ~ if(r!=null){+ c) F( z$ M8 o( e
return r;
9 W! z6 H! Q9 T: ]% y+ t4 W }6 L+ u5 |% d, ]/ f+ z5 d3 S
# j/ E3 z2 ?) e, F1 U. w
if(o.length==1){$ e& l& l0 R/ V+ G4 _
return o[0];
" l& \1 k) q) N9 E# b+ d, O7 b }
8 j& W- J3 R4 }3 Z( W/ e else{( l% ?: x/ d6 l2 w+ x! i! E, S
return o5 a6 l8 \5 i4 P' ~- @% m
} : e0 b) _/ s6 h2 ^7 p9 S
6 D. |: n5 W+ i2 F/ K2 S) O' S
}0 j# m1 j* y1 d# J' T4 O% b
var lrc =$("#lrc;show()").innerHTML.split("[");! P" D2 W. x1 _# G1 K
if(lrc.length>5){ ]' v' ]" g0 {/ s2 O, `) b& n* u
var array = new Array();
( }: X( ?, b: w' P [for (var i=0;i<lrc.length ;i++ )
6 O& u8 p* T% h* b: u2 n{
2 ?# p- T) ]: H5 o) w' a4 E& n7 N var g = new Object();, ~' @) q B- |
t= lrc<i>.split("]");8 v( p5 I: [3 U
g.time = getTime(t[0]);! \5 _1 r9 N$ e; F+ m
if(isNaN(g.time))' V5 T. ?: m% X, D9 K1 L
continue;) U" t; j: \& O" u
g.c = t[1];
* U3 r5 x4 j" _7 B if(g.c == "")- g9 ~, h( h# X/ y& G* c1 ~
g.c = getNext(i);; H0 o H9 E! N8 @
array.push(g);7 W$ U6 K! t( \; b8 n
}( T4 K/ f" p' h, T; W% t2 y
array.sort(function(x, y) {
6 S, N& r1 ? p0 @' a* U if (x.time>y.time)
2 q& J' |/ S+ Y1 l, Q- ]4 z return 1;" q/ w. o3 j7 d1 ]/ G$ z( {5 T
else if(x.time<y.time)
7 y U( ~" G! |( N return -1;$ s8 \& d; b' }0 ^; ]: d
else4 O5 l2 C* U' o, h
return 0;
8 ?9 u% a4 `* C$ W/ K( s }
3 y% O+ N0 {/ a);& p+ D: g2 O9 b- D
for(var i = 0;i<array.length;i++)
) G) h0 b" X/ V' k+ d, N{+ D' x0 x$ c( y- y+ q1 @
var g = array<i>;7 s4 K( s. K: E
if(!g.c){2 N: }- F% |/ U& J) O# e5 f
g.c=""; W& W, i& x" L# n, N/ @
}9 g, m& u4 Q5 O5 y# J* f
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
2 I5 y2 F/ J8 d& P7 u% G. u L}
, K# T5 Z, m4 t$ Z6 u3 t; ]var time = setInterval("lrcList()",500); + B J6 |' {& s' u6 N
}else{
6 k% g c) b1 m9 v* H$ z: U $("#list").innerHTML=$("#lrc").innerHTML;
$ T& u; G8 F& V6 c; s- z}
" N7 i9 C9 m+ c D1 Y$ ifunction getNext(i) T( b: B2 X. o5 G0 d, |7 N+ ^
{
9 m& j2 N4 |* m& I4 R+ K( N var result = "";! Q) ~* D+ w5 t, s* c
var i = i+1;- P: e5 @6 S2 Z9 h, A$ }( D9 X' I% f1 M
t = lrc<i>.split("]");
0 h* k) y) T" u% o f: O( N: k3 g if(t[1]=="")0 Y& S; `8 }" [. |* k2 o
result = getNext(i);
' M' m2 V: b( A3 g# c- W1 Z2 y8 S( g else, X9 y4 `5 y E/ S5 D; n
result = t[1]* P/ _$ b3 @! e
return result;
9 } E9 K0 w1 T( W% }}
5 t2 D# B/ o. e. A
" {' i* t2 Q e! o, `8 p `3 dfunction getTime(str)
_! S9 x) [6 _, F* I b# ~{6 @$ q" b$ H7 ?3 X# V2 @! K( s6 [
var time =0;5 m* u9 q# W, J2 N2 z+ r3 n# b& o
var ta = str.split(":");
/ ~2 ~, A1 R2 p" T if(ta.length<2)+ h% F8 f6 Y+ z* K. F Y
return time;
4 a. @4 o/ } R) e+ F- e& k& n+ f0 t0 X+ x
if(ta[1].indexOf(".")>0){
m& F0 P& ~7 M4 H4 _4 t+ f1 H var tb = ta[1].split(".");
) i7 n% ^2 y7 ~8 Y; }! W9 c time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
& @4 K; K( b, p- c( Y$ J2 [ }3 f4 b+ t/ Y' i3 g& Z* k
else4 t3 `# _" x [
time =ta[0]*60*1000+ta[1]*1000;
: _3 E% L; c) U8 Q return time;
7 [: h# t7 q7 J( M$ D" ~3 A' S}
% v2 r8 W9 V- hvar preTime = 0;
" i( W' i. x3 X( D9 lvar nextTime = 0;
. `9 U, F5 w- Z6 W. q4 f y2 Dvar currIndex =0;. L& `8 f$ B5 `
function lrcList(){
6 W3 s! P' h( l0 G& P var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;3 G; C- L6 `' d( Z) X+ N( V7 J
s = s*1000;
- ^/ o; q* ]& P# E0 d/ L+ L/ W if(s==0){ N+ s! t* R- x, c8 \, L t
currIndex =0;
6 f/ _* ^% x3 U/ F0 } y $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;3 X+ y0 D. Y& {) O3 H9 I( O
for(var i=0;i<array.length;i++){
3 _4 \' d. x0 a; F! A document.getElementById("lrc"+i).style.color=colorNormal;
0 x. F7 e; c2 U' E6 N6 J$ Q }
2 _! b8 o0 M6 X% o! W9 I. G9 G return;* D X9 g5 A) i! T2 q, F
}
! c2 T- Q1 [) Z if(s>0&&currIndex<array.length-1)3 u5 U/ l; ~2 x( Z7 @+ W
{
0 S: y6 O! M! g preTime = array[currIndex].time;1 ~% a1 h, I2 M- a
* m6 \+ w, J( O+ P+ Q. h8 ~; i
nextTime = array[currIndex+1].time;9 M- E, y* v/ V l) v$ p
3 e; C( i1 r, I, [ if(s>=preTime&&s<nextTime){
. w9 e3 E) h' G9 F* u }
: B1 c+ d! b1 e% s! B* ~, X/ o( m' z else if(s>=nextTime)
: f$ w: q7 W6 ~$ m' t {5 s5 B% r# }* U. {! z- ]
document.getElementById("lrc"+currIndex).style.color=colorPasted;) e6 b3 [3 O/ C
currIndex++;
# {" X& o- ]( V2 Y; \ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
$ w1 c- L. j1 l# w% w document.getElementById("lrc"+currIndex).style.color=colorPlaying;
I6 Z7 \% [3 M8 V f lrcList();# C' U$ Z/ @0 u! j4 c. P
}
3 j/ _7 D" P7 t9 U! o2 V, J else{1 |1 \) d d; Q" |
document.getElementById("lrc"+currIndex).style.color=colorNormal;) d) q3 a; c. ?# v( o. R
currIndex--;! [& ?- A* C, s' } X, g+ W2 w$ k% r
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
" c7 g+ a( `8 Z- ?1 L' C8 G# S3 _ document.getElementById("lrc"+currIndex).style.color=colorPlaying;: T0 Q* y+ Z4 K' O( Z1 u
lrcList();
. E. v1 G/ _$ @" Z7 `9 a }
9 O% D$ r8 P4 g0 y1 v% @ }0 l# C$ T$ C2 w4 c: Q* ^% S. j
else' s0 ~: Z, E6 _" k$ g& `6 F9 `
{2 I' Q3 C) v' x* J& ^6 K
if(s<array[array.length-1].time){- \2 N f6 y! J# z, i, S9 a3 m* i
currIndex = 0;6 N2 b- C$ s$ a7 \
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;6 w3 o6 e; c2 Y) g7 K
for(var i=0;i<array.length;i++){$ x8 I9 W0 ^2 e4 o
document.getElementById("lrc"+i).style.color=colorNormal;
7 u4 s2 A: S* J4 _2 K) G } U2 c% S9 v0 a |* Y2 j
lrcList();
! V) P9 c( g0 L4 e }# D3 G& \% a1 m$ [- A- n8 N s# y8 X+ C
}
. f, x4 b# A- a) y& Z8 ^}
/ b+ x1 Z' a2 R% L- e1 Y</SCRIPT> Z1 ~0 d% z- L1 e
</DIV></DIV>" ]1 N3 w; X/ E! c
6 ^4 g( S7 t1 L+ c" m[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|